<include file="Public:header" />
<include file="Public:leftside" />
<div class="main-content">
	<div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
		<ul class="breadcrumb">
			<li> <i class="icon-home home-icon"></i>
				<a href="/">首页</a>
			</li>
			<li class="active">导航分类管理</li>
		</ul>
	</div>

	<section class="vbox">

		<section class="scrollable wrapper">
			<div class="row padder-v">
				<div class="col-sm-9">
					<a href="{:U('Platform/shopnav_cat')}" class="btn btn-sm btn-default"> 分类管理 </a>
					<a href="{:U('Platform/shopnav_cat_add')}" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> 添加分类 </a>
				</div>

			</div>
			<!-- 操作提示  start -->
			<section class="panel-default m-b-sm">
				<div class="alert alert-info">
					<p>
						<button type="button" class="close"><i class="fa fa-minus"></i></button>
						<i class="fa fa-hand-o-right m-r-xs"></i><strong>操作提示</strong>
					</p>
					<p class="alert-p m-l-xl"><i class="fa fa-caret-right m-r-xs"></i>添加导航分类</p>
				</div>
			</section>
			
			<!-- 操作提示  end -->

			<section class="panel panel-default">
				<header class="panel-heading font-bold"> 添加导航分类 </header>
				<div class="panel-body">
					<form action="{:U('Platform/shopnav_cat_edit')}" method="post" class="form form-horizontal" role="form">
						<div class="form-group">
							<label class="col-sm-2 control-label">分类名称</label>
							<div class="col-md-4">
								<input type="text" class="form-control" name="name" value="{$rs.name}">
							</div>
						</div>
						
						<div class="line line-dashed line-lg pull-in"></div>
						<div class="form-group">
							<label class="col-sm-2 control-label">描述</label>
							<div class="col-md-6">
								<textarea name="remark" rows="5" cols="57">{$rs.remark}</textarea>
							</div>
						</div>
						<input type="hidden" name="navcid" value="{$rs.navcid}">
						<div class="line line-dashed line-lg pull-in"></div>
						<div class="form-group">
							<div class="col-sm-4 col-sm-offset-2">
								<button class="btn btn-info formSubmit" id="form" type="button"><i class="icon-ok bigger-110"></i>提交</button>
							</div>
						</div>
					</form>
				</div>
			</section>

		</section>
	</section>
	<include file="Public:footer" />